package com.ititer.bean;

import org.hibernate.validator.Email;
import org.hibernate.validator.NotEmpty;

import com.ititer.AbstractBean;

public class BasicSettingsBean extends AbstractBean {

	private static final long serialVersionUID = 8902404668611128309L;
	private Integer accountId;

	@NotEmpty(message = "nickname.must.be.set")
	private String nickname;

	private String realname;
	private String province;
	private String city;
	private String gender;
	private Integer birthYear;
	private Integer birthMonth;
	private Integer birthDay;
	private String qq;
	private String industry;
	private String company;
	private Integer salary;

	@Email(message = "msn.must.be.email")
	private String msn;
	private String intro;

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Integer getBirthYear() {
		return birthYear;
	}

	public void setBirthYear(Integer birthYear) {
		this.birthYear = birthYear;
	}

	public Integer getBirthMonth() {
		return birthMonth;
	}

	public void setBirthMonth(Integer birthMonth) {
		this.birthMonth = birthMonth;
	}

	public Integer getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(Integer birthDay) {
		this.birthDay = birthDay;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getMsn() {
		return msn;
	}

	public void setMsn(String msn) {
		this.msn = msn;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	@Override
	public String toString() {
		return "BasicSettingsBean {accountId=" + accountId + ", nickname=" + nickname + ", realname=" + realname
				+ ", province=" + province + ", city=" + city + ", gender=" + gender + ", birthYear=" + birthYear
				+ ", birthMonth=" + birthMonth + ", birthDay=" + birthDay + ", qq=" + qq + ", msn=" + msn + ", intro="
				+ intro + "}";
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public Integer getSalary() {
		return salary;
	}

	public void setSalary(Integer salary) {
		this.salary = salary;
	}
}
